package com.kangye.learnteacher.mapper;

import com.kangye.learnteacher.entity.Classes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
/*查询*/
public interface ClassesMapper {
    List<Classes> getClasses(Integer page, Integer limit,@Param("classes_name") String classesName);
    /*修改*/
    Integer upClasses(Classes classes);

}


